package com.twu.biblioteca.command;

import com.twu.biblioteca.Reader;
import com.twu.biblioteca.ServiceDesk;

/**
 * Created with IntelliJ IDEA.
 * User: twer
 * Date: 5/22/13
 * Time: 1:11 AM
 * To change this template use File | Settings | File Templates.
 */
public class ViewBooksCommand implements Command {
    @Override
    public String service(ServiceDesk serviceDesk, Reader reader) {
        return serviceDesk.library().booksMessage();
    }

    @Override
    public String title() {
        return "View all books";
    }
}
